how to prove a function is increasing